<template>
  <!-- index.html #app -->
  <div class="app">
    <nav>
      <router-link to="/">Home</router-link> |
      <router-link to="/about">About</router-link> |
      <router-link to="/a">AAAAA</router-link> |
      <router-link :to="{ name: 'bmi' }">BMI</router-link> |
      <router-link :to="{ name: 'music' }">Music</router-link> |
    </nav>
    <div>
      <router-view/>
    </div>
  </div>
</template>

<script>
export default {
  name: 'App',
  components: {}
}
</script>

<style lang="less">
//@import "./assets/reset";

@bg-color: #42b983;

.d-none {
  text-decoration: none;
}

.app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;

  nav {
    background-color: @bg-color;
    padding: 10px;

    a {
      color: #000;
      .d-none();

      &:hover {
        color: blue;
      }

      &::before {
        content: '.';
      }
    }

    /*a:hover {
      color: red;
    }*/
  }
}

body {
  margin: 0;
}
</style>
